package design_pattern.factory_method;

public class Client {
  public static void main(String[] args) {
    Creator creator1 = new Creator1();
    Product product1 = creator1.produceProduct("pro1");
    System.out.println(product1);
    Creator creator2 = new Creator2();
    Product product2 = creator2.produceProduct("pro2");
    System.out.println(product2);
  }
}
